.map-editor
  height 100%
  position relative
  
.map-editor-top
  border-bottom 1px solid $cm-color-black
  height 85px
  padding 10px

.map-editor-bottom
  border-top 1px solid $cm-color-black
  position absolute
  bottom 0
  left 0
  right 0
  top 75%

.map-editor-save-tip
  color $cm-color-red-0

.map-editor-bottom-wrapper
  width 100%
  height 100%
  position relative
  display flex
  
.map-editor-bottom-layers
  width 120px
  text-align center
  font-size 12px
  padding-top 5px
  padding-bottom 5px
  border-right 1px solid $cm-color-black
  overflow-y scroll
  
  .ivu-radio-wrapper
    font-size 12px
    margin-right 0
    
  .layer-show
    color: $cm-color-blue-0

.map-editor-bottom-others
.map-editor-bottom-tools
  padding-top 5px
  padding-bottom 5px
  font-size 12px
  text-align center
  width 80px
  border-left 1px solid $cm-color-black
  overflow-y scroll

  .ivu-checkbox-wrapper
  button
    font-size 12px
    margin-top 5px
  
.map-editor-bottom-settings
  flex-grow 1

.map-editor-content
  overflow scroll
  position absolute
  top 85px
  bottom 25%
  left 0
  right 0

.map-editor-content-wrapper
  position relative
  padding 10px
  margin auto
  display flex
  flex-wrap wrap
  
.map-editor-background
  position absolute
  bottom 0
  top 0
  left 0
  right 0
  padding 10px

.map-editor-selected
  position absolute
  top 0
  left 0
  display flex
  flex-wrap wrap
  
  .selected-border-side
    position absolute
    bottom 0
    top 0
    left 0
    right 0
  
    &:before
      content ''
      position absolute
      left 0
      top 0
      bottom 0
      width 2px
      background-color $cm-color-red-0
      
    &:after
      content ''
      position absolute
      right 0
      top 0
      bottom 0
      width 2px
      background-color $cm-color-red-0
  
  .selected-border-floor
    position absolute
    bottom 0
    top 0
    left 0
    right 0
    
    &:before
      content ''
      position absolute
      left 0
      top 0
      right 0
      height 2px
      background-color $cm-color-red-0
      
    &:after
      content ''
      position absolute
      left 0
      bottom 0
      right 0
      height 2px
      background-color $cm-color-red-0

.map-editor-selected-item
  position relative

.map-editor-images
  position absolute
  
  